home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / currchans < prev    next >
Text File  |  2001-03-21  |  544b  |  15 lines

  1. Synopsis:
  2.    $currchans([<server refnum>])
  3.  
  4. Technical:
  5.    Returns the current channels for each window connected to <server refnum>.
  6.    If <server refnum> is -1, then $lastserver() is assumed. If no arguments
  7.    are passed, all current channels are returned. This function returns
  8.    each argument as "<server refnum> <channel>" in double quotes.
  9.  
  10. Examples:
  11.    eval echo $currchans(1)    /* returns "1 #epic" "1 #unix" */
  12.    (assuming there are two windows connected to server 1, with #epic in
  13.     one window and #unix in the other)
  14.  
  15.